﻿using System;
using System.ComponentModel;
using WebLog.Db.SqlLogHelpers;

namespace WebLog
{
    /// <summary>
    /// 查询dto
    /// </summary>
    public class SearchLogPathsInputDto
    {
        [Description("自动生成")]
        public bool? IsAuto { get; set; }
        [Description("启用")]
        public bool? IsEnable { get; set; }
        public int id { get; set; }
        [Description("监听路由路径")]
        [ControlType(ControlTypeEnum.搜索框)]
        public string Path { get; set; }
        public int? CurrentPageIndex { get; set; }
        public int? PageSize { get; set; }
    }
    /// <summary>
    /// 增删改的dto
    /// </summary>
    public class CUDLogPathsInputDto
    {
        public bool IsEnable { get; set; }
        public string PathJoins { get; set; }
    }
}